<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: InputEventListener类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_input_event_listener-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">InputEventListener类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>输入事件监听器  
 <a href="class_input_event_listener.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_input_event_listener_8h_source.html">InputEventListener.h</a>&gt;</code></p>
<div class="dynheader">
类 InputEventListener 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_input_event_listener.png" usemap="#InputEventListener_map" alt=""/>
  <map id="InputEventListener_map" name="InputEventListener_map">
<area href="class_event_listener_keyboard.html" title="键盘事件监听器" alt="EventListenerKeyboard" shape="rect" coords="0,56,144,80"/>
<area href="class_event_listener_mouse.html" title="鼠标事件监听器" alt="EventListenerMouse" shape="rect" coords="154,56,298,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a78b78d77dd8f31aecd3b461be513be26"><td class="memItemLeft" align="right" valign="top"><a id="a78b78d77dd8f31aecd3b461be513be26"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_input_event_listener.html#a78b78d77dd8f31aecd3b461be513be26">Type</a> { <b>EventListenerType_Unknown</b>, 
<b>EventListenerType_Keybord</b>, 
<b>EventListenerType_Mouse</b>
 }</td></tr>
<tr class="memdesc:a78b78d77dd8f31aecd3b461be513be26"><td class="mdescLeft">&#160;</td><td class="mdescRight">事件监听器类型 <br /></td></tr>
<tr class="separator:a78b78d77dd8f31aecd3b461be513be26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aed52fed403e8300d38a3d555e6524fe5"><td class="memItemLeft" align="right" valign="top"><a id="aed52fed403e8300d38a3d555e6524fe5"></a>
<a class="el" href="class_input_event_listener.html#a78b78d77dd8f31aecd3b461be513be26">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr>
<tr class="separator:aed52fed403e8300d38a3d555e6524fe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0458ef3fcdc23950730e33a4b5504aa"><td class="memItemLeft" align="right" valign="top"><a id="ad0458ef3fcdc23950730e33a4b5504aa"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setAssociatedNode</b> (<a class="el" href="class_node.html">Node</a> *node)</td></tr>
<tr class="separator:ad0458ef3fcdc23950730e33a4b5504aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad759e2746c8bbdc2d8d07a43034af27b"><td class="memItemLeft" align="right" valign="top"><a id="ad759e2746c8bbdc2d8d07a43034af27b"></a>
<a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getAssociatedNode</b> () const</td></tr>
<tr class="separator:ad759e2746c8bbdc2d8d07a43034af27b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5747fae49a1f1bf1d41c7607ded286d"><td class="memItemLeft" align="right" valign="top"><a id="aa5747fae49a1f1bf1d41c7607ded286d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPriority</b> (int priority)</td></tr>
<tr class="separator:aa5747fae49a1f1bf1d41c7607ded286d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c5ff9075d0ac09fa3397175492b599c"><td class="memItemLeft" align="right" valign="top"><a id="a1c5ff9075d0ac09fa3397175492b599c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>getPriority</b> () const</td></tr>
<tr class="separator:a1c5ff9075d0ac09fa3397175492b599c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a0cbe075ef1b35a4b026e143e799220d6"><td class="memItemLeft" align="right" valign="top"><a id="a0cbe075ef1b35a4b026e143e799220d6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>InputEventListener</b> (<a class="el" href="class_input_event_listener.html#a78b78d77dd8f31aecd3b461be513be26">Type</a> t)</td></tr>
<tr class="separator:a0cbe075ef1b35a4b026e143e799220d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd441c622a6497778b7d6d07c8ecf22"><td class="memItemLeft" align="right" valign="top"><a id="aacd441c622a6497778b7d6d07c8ecf22"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>onEvent</b> (<a class="el" href="class_i_event.html">IEvent</a> *event)=0</td></tr>
<tr class="separator:aacd441c622a6497778b7d6d07c8ecf22"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a17a8049d0a992f90db917062b3db0149"><td class="memItemLeft" align="right" valign="top"><a id="a17a8049d0a992f90db917062b3db0149"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>InputEventDispatcher</b></td></tr>
<tr class="separator:a17a8049d0a992f90db917062b3db0149"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>输入事件监听器 </p>
</div><hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/base/<a class="el" href="_input_event_listener_8h_source.html">InputEventListener.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
